Repository navigation
ci(dependabot): bump pyproject.toml only when a version leaves its range - #838
Merged
Merged
Conversation
Routine Dependabot bumps raised the floors in pyproject.toml (pandas>=3.1.1 in #836), which the weakened-tests guard flags as a steering file. With increase-if-necessary, in-range bumps touch poetry.lock only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Routine Dependabot updates raised the lowest allowed versions in
pyproject.toml(for examplepandas>=3.1.0to>=3.1.1in #836). The weakened-tests guard flags everypyproject.tomlchange, so each such update needed thetests-changed-oklabel.This sets
versioning-strategy: increase-if-necessaryfor the pip ecosystem. Updates that fit the existing range now changepoetry.lockonly. Updates outside the range (major versions) still editpyproject.tomland still get the guard's review, which is wanted for majors. A side benefit is that the floors users see stop rising on every patch release.Not verified yet: GitHub's docs list
pip(which covers Poetry) as supportingversioning-strategy, but they do not show an example for Poetry with a PEP 621[project]table. Next Monday's Dependabot run will show it.AI assistance
Tools used and for which parts: Claude Code (Claude Opus 5.5) wrote the change and this description.
🤖 Generated with Claude Code